package com.onlyyou.stock.service;

import com.onlyyou.stock.info.StockInfo;

import java.util.Map;

/**
 * @Author: 小野
 * @Date: 2020/1/13 11:27
 */
public interface StockService {

    Map<String,Object> add(StockInfo stockInfo);

    Map<String,Object> findAll(Integer page,Integer limit);

    Integer getRows();

    public Map<String, Object> getStockList();

    public Map<String, Object> getStock(String sku_id);

    public Map<String, Object> insertLimitPolicy(Map<String, Object> policyInfo);
}
